home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel
/
CAROUSEL.cdr
/
mactosh
/
code
/
p_fracap.sit
/
About FracAppPalette
next >
Wrap
Text File
|
1988-08-17
|
1KB
|
27 lines
_______________________________________________________________________________________________
Macintosh Sample Code
#8: FracAppPalette
Versions: 1.0 8/88
Components: MFracAppPalette.p August 1, 1988
UFracAppPalette.p August 1, 1988
UFracAppPalette.inc1.p August 1, 1988
FracAppPalette.r August 1, 1988
FracAppPalette.make August 1, 1988
______________________________________________________________________________________________
This program requires MPW 2.0.2 and MacApp 1.1.1 to build.
This is a version of FracApp that uses only the Palette Manager. It does not support
color table animation since the color system (mainly CopyBits) and the Palette Manager
are currently not quite well enough integrated. The program demonstrates a full color
palette that is used to display the Mandelbrot set. It uses an offscreen gDevice w/ Port to
handle the data, using CopyBits to draw to the window. The Palette is automatically
associated with each window. The PICT files are read and written using the bottlenecks
(spooled), to save on memory useage.